﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using QuanLyNhaSach_1173005;
using System.Diagnostics;
using System.Reflection;
using System.IO;
using System.Security.Cryptography;

namespace QuanLyNhaSach_1173005
{
    public partial class FrmMain : Form
    {
        public FrmMain()
        {
            InitializeComponent();
        }


        private void lậpPhiếuNhậpSáchToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmPhieuNhapSach frm = new frmPhieuNhapSach();
            frm.Show();
        }

        private void hóaĐơnBánSáchToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmHoaDonBanSach hdbs = new frmHoaDonBanSach();
            //hdbs.MdiParent = this;
            hdbs.Show();
        }

        private void thoátToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void sáchToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmDanhSachSach sach = new frmDanhSachSach();
            sach.Show();
        }

        private void kháchHàngToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmDanhSachKhachHang kh = new frmDanhSachKhachHang();
            kh.Show();
        }

        private void báoCáoTồnToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmBaoCaoTon baocao = new frmBaoCaoTon();
            baocao.ShowDialog();
        }

        private void báoCáoCôngNợToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmBaoCaoCongNo baocao = new frmBaoCaoCongNo();
            baocao.ShowDialog();
        }

        private void thayĐổiQuyĐịnhToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmThayDoiQuiDinh thaydoi = new frmThayDoiQuiDinh();
            thaydoi.ShowDialog();
        }


    }
}
